﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Biblioteca.Logica_Negocio.Domain_Model
{

    [Table("Tipos_Material")]
    public class TipoMaterial
    {

        public TipoMaterial() { }

        public TipoMaterial(int id, string tipo) {

            this.Id = id;
            this.Tipo = tipo;
        }

        public int Id { get; protected set; }

        public string Tipo { get; protected set; }

        public virtual ICollection<Material> Materiales { get; protected set; }
    }
}
